package com.huwc.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.huwc.bean.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huwenchao
 * @since 2019-01-12
 */
public interface UserService extends IService<User> {


//    @DS("master")
    public List<User> selectALlMaster();

//    @DS("slave")
    public List<User> selectALlSlave();
}
